package com.scsj.supermarket.bean;

/**
 *
 */
public class WithdrawalRecordPostBean {

    /**
     * phone : 12300002210
     * status :
     * transactionNumber :
     * paymentType :
     * startTime :
     * endTime :
     * pageInfo : {"pageNum":1,"pageSize":10}
     */

    private String phone;
    private String status;
    private String transactionNumber;
    private String paymentType;
    private String startTime;
    private String endTime;
    private PageInfoBean pageInfo;

    public WithdrawalRecordPostBean() {
    }

    /**
     *
     * @param phone 	否	string	申请人账号 手机号
     * @param status   否	int	提现状态 1.申请提现;2.拒绝提现; 3.同意提现
     * @param transactionNumber  否	string	交易单号
     * @param paymentType  是	int	提现账号类型支付类型1 银行卡 2支付宝 3微信 （暂时支持银行卡，传值1）
     * @param startTime 否	date	开始时间
     * @param endTime 	否	date	结束时间
     */
    public WithdrawalRecordPostBean(String phone, String status, String transactionNumber, String paymentType, String startTime, String endTime) {
        this.phone = phone;
        this.status = status;
        this.transactionNumber = transactionNumber;
        this.paymentType = paymentType;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    /**
     *
     * @param phone 	否	string	申请人账号 手机号
     * @param status   否	int	提现状态 1.申请提现;2.拒绝提现; 3.同意提现
     * @param transactionNumber  否	string	交易单号
     * @param paymentType  是	int	提现账号类型支付类型1 银行卡 2支付宝 3微信 （暂时支持银行卡，传值1）
     * @param startTime 否	date	开始时间
     * @param endTime 	否	date	结束时间
     * @param pageInfo 否	pageinfo	分页信息
     */
    public WithdrawalRecordPostBean(String phone, String status, String transactionNumber, String paymentType, String startTime, String endTime, PageInfoBean pageInfo) {
        this.phone = phone;
        this.status = status;
        this.transactionNumber = transactionNumber;
        this.paymentType = paymentType;
        this.startTime = startTime;
        this.endTime = endTime;
        this.pageInfo = pageInfo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTransactionNumber() {
        return transactionNumber;
    }

    public void setTransactionNumber(String transactionNumber) {
        this.transactionNumber = transactionNumber;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public PageInfoBean getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfoBean pageInfo) {
        this.pageInfo = pageInfo;
    }

    public static class PageInfoBean {


        /**
         * pageNum : 1
         * pageSize : 10
         */



        private int pageNum;
        private int pageSize;

        public PageInfoBean() {
        }

        public PageInfoBean(int pageNum, int pageSize) {
            this.pageNum = pageNum;
            this.pageSize = pageSize;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }
    }
}
